package Mangos::DB::Characters::CharacterAccountData;

use strict;

use base qw(Mangos::DB::Characters);

__PACKAGE__->meta->setup
(
    table   => 'character_account_data',

    columns => 
    [
        guid => { type => 'integer', not_null => 1 },
        type => { type => 'integer', not_null => 1 },
        time => { type => 'bigint', default => '0', not_null => 1 },
        data => { type => 'scalar', length => 4294967295, not_null => 1 },
    ],

    primary_key_columns => [ 'guid', 'type' ],
);

1;

package Mangos::DB::Characters::CharacterAccountData::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Characters::CharacterAccountData' }

__PACKAGE__->make_manager_methods('character_account_data');

1;
